{% load static %}
{#京东的商品评论内容#}
{#<h5>某东评论内容区</h5>#}
<script type="text/javascript" src="{% static "ckeditor/ckeditor/ckeditor.js" %}"></script>

{#请输入内容：<label for="input_nickname"></label><input class="form-control border-danger" type="text" id="input_nickname" value="{{ goodName}}"/>#}
{#<div id="show_nickname"></div>#}
<div class="mycopy" style="overflow: hidden">

    <p> 本文将为你选购<span class="pddd"></span>做出准确建议，结合<span class="pddd"></span>实际优惠力度，帮助你选到高性价比优秀品牌的优秀<span
            class="pddd"></span>产品~本文尽量不写的那么晦涩难懂。</p>
    <p>本文不写论文，不写相关<span class="pddd"></span>历史，不会告诉你洗衣机是谁发明的这些无关紧要的东西，只讲选购的要点与建议。
        您的点赞支持就是给我最大的鼓励！谢谢各位~</p>
    <div>
        <p style="font-size: 1.2em;line-height: 1.5;font-weight: 600;"><b>目录</b></p>
        <div style="padding-left: 10px; font-size: 10px;color: #121212;"><b>一：选购<span class="pddd"></span>产品建议</b>
            <svg class="Zi Zi--TriangleArrowRight css-7ngl20" fill="currentColor" viewBox="0 0 24 24" width="20px"
                 height="20px" style="color: #D3D3D3;">
                <path d="M9 9.185v5.63c0 .378.18.685.665.685.114 0 .187-.03.314-.083l4.621-2.793c.2-.124.4-.304.4-.624s-.2-.5-.4-.624L9.979 8.583c-.127-.053-.2-.083-.314-.083-.485 0-.665.307-.665.685z"></path>
            </svg>
        </div>
        <div style="padding-left: 10px; font-size: 12px;color: #121212;"><b>二：<span class="pddd"></span>用户关注的问题</b>
            <svg class="Zi Zi--TriangleArrowRight css-7ngl20" fill="currentColor" viewBox="0 0 24 24" width="20px"
                 height="20px" style="color: #D3D3D3;">
                <path d="M9 9.185v5.63c0 .378.18.685.665.685.114 0 .187-.03.314-.083l4.621-2.793c.2-.124.4-.304.4-.624s-.2-.5-.4-.624L9.979 8.583c-.127-.053-.2-.083-.314-.083-.485 0-.665.307-.665.685z"></path>
            </svg>
        </div>
        <div style="padding-left: 10px; font-size: 12px;color: #121212;"><b>三：<span class="pddd"></span>配置参数、类型</b>
            <svg class="Zi Zi--TriangleArrowRight css-7ngl20" fill="currentColor" viewBox="0 0 24 24" width="20px"
                 height="20px" style="color: #D3D3D3;">
                <path d="M9 9.185v5.63c0 .378.18.685.665.685.114 0 .187-.03.314-.083l4.621-2.793c.2-.124.4-.304.4-.624s-.2-.5-.4-.624L9.979 8.583c-.127-.053-.2-.083-.314-.083-.485 0-.665.307-.665.685z"></path>
            </svg>
        </div>
        <div style="padding-left: 10px; font-size: 12px;color: #121212;"><b>四：<span class="pddd"></span>网友对这款产品评测</b>
            <svg class="Zi Zi--TriangleArrowRight css-7ngl20" fill="currentColor" viewBox="0 0 24 24" width="20px"
                 height="20px" style="color: #D3D3D3;">
                <path d="M9 9.185v5.63c0 .378.18.685.665.685.114 0 .187-.03.314-.083l4.621-2.793c.2-.124.4-.304.4-.624s-.2-.5-.4-.624L9.979 8.583c-.127-.053-.2-.083-.314-.083-.485 0-.665.307-.665.685z"></path>
            </svg>
        </div>
    </div>
    <h2 style="font-size: 1.2em;line-height: 1.5;font-weight: 600;">一：选购<span class="pddd"></span>建议；</h2>
    <p>{{ commentList| first }}</p>
    <p><b>【千万不要被骗了】点击下方链接查看官网最新报价</b></p>
    {#照片#}
    {% for foo in imgList %}
        {% if forloop.counter == 1 %}
            <p><img src="{{ foo }}" alt=""></p>

        {% endif %}
    {% endfor %}

    {#评论#}
    <ul>
        {% for foo in commentList %}
            {% if forloop.counter == 2 %}
                <li>{{ foo }}</li>
            {% endif %}
        {% endfor %}
    </ul>

    <hr>
    <h2 style="font-size: 1.2em;line-height: 1.5;font-weight: 600;">二、<span class="pddd"></span>用户关心的问题</h2>
    {% for ask in askList %}
        <p><span>问题：{{ ask.QUESTION }}</span></p>
        {% for key in ask.KEYS %}
        <p><span>答：{{ key }}</span></p>
        {% endfor %}
    {% endfor %}
    <hr>
    <h2 style="font-size: 1.2em;line-height: 1.5;font-weight: 600;">三、<span class="pddd"></span>配置参数、类型</h2>
    <table border="1">   {#    参数详情#}
        {% for itemdata in itemList %}
            <tr>
                <td>{{ itemdata.itemName }}</td>
                <td>{{ itemdata.itemContent }}</td>
            </tr>
        {% endfor %}
    </table>
    <hr>
    {% for foo in imgList %}   {#照片#}
        {% if forloop.counter == 2 %}
            <p><img src="{{ foo }}" alt=""></p>
        {% endif %}
    {% endfor %}
    <hr>
    <h2 style="font-size: 1.2em;line-height: 1.5;font-weight: 600;">四、<span class="pddd"></span>网友评测高性价比推荐；看了这么多，想必各位心中已经有自己的标准了，为了更好地帮大家选购心仪的<span
            class="pddd"></span>，那么下面来看下网友怎么说。</h2>
    <ul>    {#评论#}
        {% for foo in commentList %}
            {% if forloop.counter == 3 %}
                <li>{{ foo }}</li>
            {% endif %}
        {% endfor %}
    </ul>
    {% for foo in imgList %}                           {#照片#}
        {% if forloop.counter == 3 %}
            <p><img src="{{ foo }}" alt=""></p>
        {% endif %}
    {% endfor %}
    <ul>                                               {#评论#}
        {% for foo in commentList %}
            {% if forloop.counter == 4 %}
                <li>{{ foo }}</li>
            {% endif %}
        {% endfor %}
    </ul>
    {% for foo in imgList %}                           {#照片#}
        {% if forloop.counter == 4 %}
            <p><img src="{{ foo }}" alt=""></p>
        {% endif %}
    {% endfor %}
    <ul>                                                {#评论#}
        {% for foo in commentList %}
            {% if forloop.counter == 5 %}
                <li>{{ foo }}</li>
            {% endif %}
        {% endfor %}
    </ul>
    {% for foo in imgList %}                            {#照片#}
        {% if forloop.counter == 5 %}
            <p><img src="{{ foo }}" alt=""></p>
        {% endif %}
    {% endfor %}
    <ul>                                                 {#评论#}
        {% for foo in commentList %}
            {% if forloop.counter == 6 %}
                <li>{{ foo }}</li>
            {% endif %}
        {% endfor %}
    </ul>
    {% for foo in imgList %}                             {#照片#}
        {% if forloop.counter == 6 %}
            <p><img src="{{ foo }}" alt=""></p>
        {% endif %}
    {% endfor %}
    <ul>                                                  {#评论#}
        {% for foo in commentList %}
            {% if forloop.counter == 7 %}
                <li>{{ foo }}</li>
            {% endif %}
        {% endfor %}
    </ul>
    {% for foo in imgList %}                                {#照片#}
        {% if forloop.counter == 7 %}
            <p><img src="{{ foo }}" alt=""></p>
        {% endif %}
    {% endfor %}
    <hr>
    <p>亲爱的小伙伴们，本期内容到这里暂告一段落，后期将持续不断更新<span class="pddd"></span>值得推荐的产品动向~</p>
    <p>不知道你选到自己心仪的<span class="pddd"></span>了吗？如果有任何不明白的地方欢迎与我交流，我必定知无不言！这篇文章花了我好几天的心血，码字不易喜欢的小伙伴留个小爱心，感激不尽！
        以上~</p>
</div>



<div class="row">

    <div class="col-md-12">

        <div class="btn-group" role="group" aria-label="">
            <button type="button" onclick="onClick(this)" class="btn btn-default">怎么样？</button>
            <button type="button" onclick="onClick(this)" class="btn btn-default">行不行？</button>
            <button type="button" onclick="onClick(this)" class="btn btn-default">好不好？</button>
        </div>
    </div>

</div>


<script type="text/javascript">
    CKEDITOR.replace('editor1');
    {#CKEDITOR.instances.editor1.setData('')#}

</script>

<script type="text/javascript">
    var inputs = document.getElementById("input_nickname");
    var shows = document.getElementsByClassName("pddd");

    inputs.onkeyup = function () {
        var i;
        for (i = 0; i < shows.length; i++) {
            shows[i].innerHTML = inputs.value;
        }
    };


</script>
